﻿using System;
using Gean.Wrapper;
using Pansoft.HIME.Base.Abstracts;
using Pansoft.HIME.Base.Entities;

namespace Pansoft.HIME.Base.ViewModels
{
    public class StaffViewModel : SimpleViewModel<Staff>
    {
        /// <summary>员工ID
        /// </summary>
        public string Id { get; set; }

        public string Name { get; set; }

        public string Email { get; set; }

        public string MobilePhone { get; set; }

        /// <summary>员工隶属的组织
        /// </summary>
        public string OrganizationId { get; set; }

        /// <summary>用户角色
        /// </summary>
        public string RoleId { get; set; }

        /// <summary>实体的创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>实体的修改时间
        /// </summary>
        public DateTime ModifiedTime { get; set; }

        /// <summary>实体的创建人的ID
        /// </summary>
        public string CreaterId { get; set; }

        /// <summary>实体的修改人的ID
        /// </summary>
        public string MenderId { get; set; }

        /// <summary>实体是否是被删除状态
        /// </summary>
        public bool IsDeleted { get; set; }

        public string Password { get; set; }

        public PersonSex Sex { get; set; }

        public DateTime LoginDateTime { get; set; }
        public int LoginCounterId { get; set; }
        public bool IsLogin { get; set; }
    }
}